﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/HomeSite.Master" Inherits="System.Web.Mvc.ViewPage<TimeTableManagement.Entities.Tb_News>" %>

<%@ Register Assembly="DevExpress.Web.v11.1, Version=11.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxRoundPanel" TagPrefix="dx" %>

<%@ Register assembly="DevExpress.Web.v11.1, Version=11.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxPanel" tagprefix="dx" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

    <dx:ASPxRoundPanel ID="ASPxRoundPanel1" runat="server" Width="100%" 
        CssFilePath="~/App_Themes/Aqua/{0}/styles.css" CssPostfix="Aqua" 
        GroupBoxCaptionOffsetY="-28px" HeaderText="New Detail"
        SpriteCssFilePath="~/App_Themes/Aqua/{0}/sprite.css">
        <ContentPaddings Padding="14px" />
        <PanelCollection>
<dx:PanelContent runat="server" SupportsDisabledAttribute="True">
<table class="ui-accordion">
        <tr>
            <td>
                <div class="display-label"><%: Html.LabelFor(model => model.title) %></div>
                <div class="display-field">
                    <%: Html.DisplayFor(model => model.title) %>
                </div>
            </td>
            <td>
                <div class="display-label"><%: Html.LabelFor(model => model.id_user) %></div>
                <div class="display-field">
                    <%: Html.DisplayFor(model => model.id_user) %>
                </div>
            </td>
        </tr>
        <tr>
            <td>
                <div class="display-label"><%: Html.LabelFor(model => model.startdate) %></div>
                <div class="display-field">
                    <%: Html.DisplayFor(model => model.startdate) %>
                </div>
            </td>
            <td>
                <div class="display-label"><%: Html.LabelFor(model => model.enddate) %></div>
                <div class="display-field">
                    <%: Html.DisplayFor(model => model.enddate) %>
                </div>
            </td>
        </tr>
        <tr>
            <td>
                  <div class="display-label"><%: Html.LabelFor(model => model.status) %></div>
                <div class="display-field">
                    <%: Html.DisplayFor(model => model.status) %>
                </div>
            </td>
            <td>
                <div class="display-label"><%: Html.LabelFor(model => model.type) %></div>
                <div class="display-field">
                    <%: Html.DisplayFor(model => model.Tb_Config.keyword) %>
                </div>
            </td>
        </tr>
        <tr>
            <td>
                 <div class="display-label"><%: Html.LabelFor(model => model.option) %></div>
                <div class="display-field">
                    <%: Html.DisplayFor(model => model.option) %>
                </div>  
            </td>
            <td> 
                <div class="display-label"><%: Html.LabelFor(model => model.urlimage) %></div>
                <div class="display-field">
                    <%: Html.DisplayFor(model => model.urlimage) %>
                </div> 
            </td>
        </tr>
    </table>
    <div class="display-label"><%: Html.LabelFor(model => model.content) %></div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.content) %>
    </div>
<p>
    <%: Html.ActionLink("Edit", "Edit", new { id=Model.id }) %> |
    <%: Html.ActionLink("Back to List", "Index") %>
</p>
</dx:PanelContent>
</PanelCollection>
    </dx:ASPxRoundPanel>

</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .display-label
        {
            font-weight: 700;
        }
    </style>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="leftmenu" runat="server">
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="menuright" runat="server">
</asp:Content>

<asp:Content ID="Content5" ContentPlaceHolderID="Footer" runat="server">
</asp:Content>
